package com.example.yihur.javabaseeventthread.threadjava;

import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingDeque;


/**
 * 任务执行器
 */
public interface TaskExecutor extends Task {

    /**
     * 提交一个任务
     * @param task
     */
    public void submit(Task task);
}
